home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Frameworks
/
Grant's CGI Framework 1.0b14
/
Util
/
compiler_stuff.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-04-10
|
794b
|
47 lines
#pragma once
/*****
*
* compiler_stuff.h
*
* Stuff to deal with particular compilers' idiosyncrasies
*
*****/
#include "MyConfiguration.h"
/*** CONSTANTS ***/
/* are we compiling for Symantec compilers? */
#if defined(__SC__) || defined(THINK_C)
#define kCompiling_For_Symantec 1
#else
#define kCompiling_For_Symantec 0
#endif
/* make sure that nil works as expected for Symantec compilers */
#if !defined(nil) || ( !defined(__cplusplus) && kCompiling_For_Symantec )
#ifdef nil
#undef nil
#endif
#define nil 0
#endif
/** PROFILER SUPPORT **/
#if __powerc
#define kProcessorString "PPC"
#else
#define kProcessorString "68K"
#endif
/** PASCAL SUPPORT **/
#if kCompileWithPascalSupport
#define p_export pascal
#else
#define p_export
#endif
/***** EOF *****/